package com.enba.mallapi.config;

import com.enba.boot.jwt.JwtHelper;
import com.enba.boot.web.properties.WebProperties;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class WebConfig implements WebMvcConfigurer {

  @Autowired private JwtHelper jwtHelper;
  @Autowired private WebProperties webProperties;

  @Override
  public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
    //    resolvers.add(new CurrentUserObjectMethodArgumentResolver(jwtHelper, webProperties));
  }
}
